home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / fusion / mshardfile1 / System Folder / System / System.rsrc / CDEF_0.txt < prev    next >
Text File  |  2000-02-07  |  30KB  |  549 lines

  1. start:
  2. 00000000  600A                     bra        +0xC /* 0000000C */
  3. 00000002  0000 4344                ori.b      D0, 0x44 /* 'D' */
  4. 00000006  4546                     chk.w      D2, D6
  5. 00000008  0000 000B                ori.b      D0, 0xB
  6. label0000000C:
  7. 0000000C  4E56 FFC6                link       A6, -0x003A
  8. 00000010  48E7 1F78                movem.l    -[A7], D3,D4,D5,D6,D7,A1,A2,A3,A4
  9. 00000014  0C6E 0002 000C           cmpi.w     [A6 + 0xC], 0x2
  10. 0000001A  6312                     bls        +0x14 /* 0000002E */
  11. 0000001C  0C6E 000A 000C           cmpi.w     [A6 + 0xC], 0xA /* '\n' */
  12. 00000022  670A                     beq        +0xC /* 0000002E */
  13. 00000024  0C6E 000B 000C           cmpi.w     [A6 + 0xC], 0xB
  14. 0000002A  6600 00DE                bne        +0xE0 /* 0000010A */
  15. label0000002E:
  16. 0000002E  486E FFEC                pea.l      [A6 - 0x14]
  17. 00000032  A898                     syscall    GetPenState
  18. 00000034  A89E                     syscall    PenNormal
  19. 00000036  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  20. 0000003C  53EE FFEA                sls        [A6 - 0x16]
  21. 00000040  627C                     bhi        +0x7E /* 000000BE */
  22. 00000042  2055                     movea.l    A0, [A5]
  23. 00000044  2050                     movea.l    A0, [A0]
  24. 00000046  3F28 0048                move.w     -[A7], [A0 + 0x48]
  25. 0000004A  3F3C 0001                move.w     -[A7], 0x1
  26. 0000004E  A889                     syscall    TextMode
  27. 00000050  486E FFCE                pea.l      [A6 - 0x32]
  28. 00000054  AA19                     syscall    GetForeColor
  29. 00000056  486E FFC8                pea.l      [A6 - 0x38]
  30. 0000005A  AA1A                     syscall    GetBackColor
  31. 0000005C  42A7                     clr.l      -[A7]
  32. 0000005E  4227                     clr.b      -[A7]
  33. 00000060  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  34. 00000064  486F 0006                pea.l      [A7 + 0x6]
  35. 00000068  AA44                     syscall    GetAuxiliaryControlRecord/GetAuxCtl
  36. 0000006A  544F                     addq.w     A7, 2
  37. 0000006C  205F                     movea.l    A0, [A7]+
  38. 0000006E  2050                     movea.l    A0, [A0]
  39. 00000070  2068 0008                movea.l    A0, [A0 + 0x8]
  40. 00000074  2D48 FFDE                move.l     [A6 - 0x22], A0
  41. 00000078  A029                     syscall    HLock
  42. 0000007A  2D50 FFDA                move.l     [A6 - 0x26], [A0]
  43. 0000007E  42A7                     clr.l      -[A7]
  44. 00000080  4227                     clr.b      -[A7]
  45. 00000082  206E 000E                movea.l    A0, [A6 + 0xE]
  46. 00000086  2050                     movea.l    A0, [A0]
  47. 00000088  2F28 0004                move.l     -[A7], [A0 + 0x4]
  48. 0000008C  486F 0006                pea.l      [A7 + 0x6]
  49. 00000090  AA42                     syscall    GetAuxWin
  50. 00000092  544F                     addq.w     A7, 2
  51. 00000094  205F                     movea.l    A0, [A7]+
  52. 00000096  2050                     movea.l    A0, [A0]
  53. 00000098  2068 0008                movea.l    A0, [A0 + 0x8]
  54. 0000009C  2050                     movea.l    A0, [A0]
  55. 0000009E  3028 0006                move.w     D0, [A0 + 0x6]
  56. 000000A2  C0FC 0008                mulu.w     D0, 0x8
  57. label000000A6:
  58. 000000A6  4A70 0008                tst.w      [A0 + D0.w + 0x8]
  59. 000000AA  6706                     beq        +0x8 /* 000000B2 */
  60. 000000AC  5140                     subq.w     D0, 8
  61. 000000AE  6CF6                     bge        -0x8 /* 000000A6 */
  62. 000000B0  7000                     moveq.l    D0, 0x00
  63. label000000B2:
  64. 000000B2  2D70 000A FFD4           move.l     [A6 - 0x2C], [A0 + D0.w + 0xA]
  65. 000000B8  3D70 000E FFD8           move.w     [A6 - 0x28], [A0 + D0.w + 0xE]
  66. label000000BE:
  67. 000000BE  41EE 0008                lea.l      A0, [A6 + 0x8]
  68. 000000C2  2618                     move.l     D3, [A0]+
  69. 000000C4  3018                     move.w     D0, [A0]+
  70. 000000C6  2658                     movea.l    A3, [A0]+
  71. 000000C8  3C18                     move.w     D6, [A0]+
  72. 000000CA  3E06                     move.w     D7, D6
  73. 000000CC  0246 0007                andi.w     D6, 0x7
  74. 000000D0  4290                     clr.l      [A0]
  75. 000000D2  2053                     movea.l    A0, [A3]
  76. 000000D4  0C40 0002                cmpi.w     D0, 0x2
  77. 000000D8  6300 0004                bls        +0x6 /* 000000DE */
  78. 000000DC  5F40                     subq.w     D0, 7
  79. label000000DE:
  80. 000000DE  D040                     add.w      D0, D0
  81. 000000E0  43FA 0036                lea.l      A1, [PC + 0x36 /* 00000118, value 0x3402DC, cstring "" */]
  82. 000000E4  D2F1 0000                add.w      A1, [A1 + D0.w]
  83. 000000E8  4E91                     jsr        [A1]
  84. 000000EA  4A2E FFEA                tst.b      [A6 - 0x16]
  85. 000000EE  6714                     beq        +0x16 /* 00000104 */
  86. 000000F0  206E FFDE                movea.l    A0, [A6 - 0x22]
  87. 000000F4  A02A                     syscall    HUnlock
  88. 000000F6  486E FFCE                pea.l      [A6 - 0x32]
  89. 000000FA  AA14                     syscall    RGBForeColor
  90. 000000FC  486E FFC8                pea.l      [A6 - 0x38]
  91. 00000100  AA15                     syscall    RGBBackColor
  92. 00000102  A889                     syscall    TextMode
  93. label00000104:
  94. 00000104  486E FFEC                pea.l      [A6 - 0x14]
  95. 00000108  A899                     syscall    SetPenState
  96. label0000010A:
  97. 0000010A  4CDF 1EF8                movem.l    D3,D4,D5,D6,D7,A1,A2,A3,A4, [A7]+
  98. 0000010E  4E5E                     unlink     A6
  99. 00000110  205F                     movea.l    A0, [A7]+
  100. 00000112  4FEF 000C                lea.l      A7, [A7 + 0xC]
  101. 00000116  4ED0                     jmp        [A0]
  102. 00000118  0034 02DC 0314           ori.b      <<invalid full ext with I/IS == 4>>, 0xDC
  103. 0000011E  030E                     btst       A6, D1
  104. 00000120  030E                     btst       A6, D1
  105. label00000122:
  106. 00000122  4E75                     rts
  107. fn00000124:
  108. 00000124  2F01                     move.l     -[A7], D1
  109. 00000126  206E FFDA                movea.l    A0, [A6 - 0x26]
  110. 0000012A  3228 0006                move.w     D1, [A0 + 0x6]
  111. 0000012E  C2FC 0008                mulu.w     D1, 0x8
  112. label00000132:
  113. 00000132  B070 1008                cmp.w      D0, [A0 + D1.w + 0x8]
  114. 00000136  6706                     beq        +0x8 /* 0000013E */
  115. 00000138  5141                     subq.w     D1, 8
  116. 0000013A  6CF6                     bge        -0x8 /* 00000132 */
  117. 0000013C  7200                     moveq.l    D1, 0x00
  118. label0000013E:
  119. 0000013E  41F0 100A                lea.l      A0, [A0 + D1.w + 0xA]
  120. 00000142  2008                     move.l     D0, A0
  121. 00000144  221F                     move.l     D1, [A7]+
  122. 00000146  205F                     movea.l    A0, [A7]+
  123. 00000148  2F00                     move.l     -[A7], D0
  124. 0000014A  4ED0                     jmp        [A0]
  125. 0000014C  4A28 0010                tst.b      [A0 + 0x10]
  126. 00000150  67D0                     beq        -0x2E /* 00000122 */
  127. 00000152  6100 0286                bsr        +0x288 /* 000003DA */
  128. 00000156  4A2E FFEA                tst.b      [A6 - 0x16]
  129. 0000015A  6724                     beq        +0x26 /* 00000180 */
  130. 0000015C  4A06                     tst.b      D6
  131. 0000015E  6706                     beq        +0x8 /* 00000166 */
  132. 00000160  486E FFD4                pea.l      [A6 - 0x2C]
  133. 00000164  6016                     bra        +0x18 /* 0000017C */
  134. label00000166:
  135. 00000166  2053                     movea.l    A0, [A3]
  136. 00000168  1028 0011                move.b     D0, [A0 + 0x11]
  137. 0000016C  5300                     subq.b     D0, 1
  138. 0000016E  0C00 00FD                cmpi.b     D0, 0xFD
  139. 00000172  6404                     bcc        +0x6 /* 00000178 */
  140. 00000174  7002                     moveq.l    D0, 0x02
  141. 00000176  6002                     bra        +0x4 /* 0000017A */
  142. label00000178:
  143. 00000178  7001                     moveq.l    D0, 0x01
  144. label0000017A:
  145. 0000017A  61A8                     bsr        -0x56 /* 00000124 */
  146. label0000017C:
  147. 0000017C  AA15                     syscall    RGBBackColor
  148. 0000017E  2053                     movea.l    A0, [A3]
  149. label00000180:
  150. 00000180  49E8 0008                lea.l      A4, [A0 + 0x8]
  151. 00000184  4A06                     tst.b      D6
  152. 00000186  6704                     beq        +0x6 /* 0000018C */
  153. 00000188  4A03                     tst.b      D3
  154. 0000018A  6606                     bne        +0x8 /* 00000192 */
  155. label0000018C:
  156. 0000018C  2F0C                     move.l     -[A7], A4
  157. 0000018E  2F04                     move.l     -[A7], D4
  158. 00000190  A8B2                     syscall    EraseRoundRect
  159. label00000192:
  160. 00000192  2055                     movea.l    A0, [A5]
  161. 00000194  2050                     movea.l    A0, [A0]
  162. 00000196  2F28 0044                move.l     -[A7], [A0 + 0x44]
  163. 0000019A  3F28 004A                move.w     -[A7], [A0 + 0x4A]
  164. 0000019E  5147                     subq.w     D7, 8
  165. 000001A0  6C12                     bge        +0x14 /* 000001B4 */
  166. 000001A2  42A8 0044                clr.l      [A0 + 0x44]
  167. 000001A6  3038 0BA8                move.w     D0, [0x00000BA8 /* DefFontSize */]
  168. 000001AA  6604                     bne        +0x6 /* 000001B0 */
  169. 000001AC  1038 0987                move.b     D0, [0x00000987 /* FMDefaultSize */]
  170. label000001B0:
  171. 000001B0  3140 004A                move.w     [A0 + 0x4A], D0
  172. label000001B4:
  173. 000001B4  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  174. 000001B8  42A7                     clr.l      -[A7]
  175. 000001BA  A8D8                     syscall    NewRgn
  176. 000001BC  2457                     movea.l    A2, [A7]
  177. 000001BE  A87A                     syscall    GetClip
  178. 000001C0  2053                     movea.l    A0, [A3]
  179. 000001C2  4868 0008                pea.l      [A0 + 0x8]
  180. 000001C6  A87B                     syscall    ClipRect
  181. 000001C8  2F0A                     move.l     -[A7], A2
  182. 000001CA  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  183. 000001CE  A8E4                     syscall    SectRgn
  184. 000001D0  204B                     movea.l    A0, A3
  185. 000001D2  A069                     syscall    HGetState
  186. 000001D4  2F00                     move.l     -[A7], D0
  187. 000001D6  A029                     syscall    HLock
  188. 000001D8  48E7 0830                movem.l    -[A7], D4,A2,A3
  189. 000001DC  2053                     movea.l    A0, [A3]
  190. 000001DE  45E8 0028                lea.l      A2, [A0 + 0x28]
  191. 000001E2  49E8 0008                lea.l      A4, [A0 + 0x8]
  192. 000001E6  7E00                     moveq.l    D7, 0x00
  193. 000001E8  1E12                     move.b     D7, [A2]
  194. 000001EA  6700 00FA                beq        +0xFC /* 000002E6 */
  195. 000001EE  7800                     moveq.l    D4, 0x00
  196. label000001F0:
  197. 000001F0  5244                     addq.w     D4, 1
  198. 000001F2  6100 016A                bsr        +0x16C /* 0000035E */
  199. 000001F6  4A07                     tst.b      D7
  200. 000001F8  6AF6                     bpl        -0x8 /* 000001F0 */
  201. 000001FA  1E12                     move.b     D7, [A2]
  202. 000001FC  514F                     subq.w     A7, 8
  203. 000001FE  264F                     movea.l    A3, A7
  204. 00000200  2F0B                     move.l     -[A7], A3
  205. 00000202  A88B                     syscall    GetFontInfo
  206. 00000204  6100 0170                bsr        +0x172 /* 00000376 */
  207. 00000208  C0C4                     mulu.w     D0, D4
  208. 0000020A  322C 0004                move.w     D1, [A4 + 0x4]
  209. 0000020E  3A01                     move.w     D5, D1
  210. 00000210  9254                     sub.w      D1, [A4]
  211. 00000212  9240                     sub.w      D1, D0
  212. 00000214  E241                     asr        D1.w, 1
  213. 00000216  9A41                     sub.w      D5, D1
  214. 00000218  9A6B 0006                sub.w      D5, [A3 + 0x6]
  215. 0000021C  9A6B 0002                sub.w      D5, [A3 + 0x2]
  216. label00000220:
  217. 00000220  6100 013C                bsr        +0x13E /* 0000035E */
  218. 00000224  4267                     clr.w      -[A7]
  219. 00000226  2F0A                     move.l     -[A7], A2
  220. 00000228  3007                     move.w     D0, D7
  221. 0000022A  5400                     addq.b     D0, 2
  222. 0000022C  3F00                     move.w     -[A7], D0
  223. 0000022E  3F03                     move.w     -[A7], D3
  224. 00000230  A886                     syscall    TextWidth
  225. 00000232  301F                     move.w     D0, [A7]+
  226. 00000234  4A06                     tst.b      D6
  227. 00000236  6724                     beq        +0x26 /* 0000025C */
  228. 00000238  4A78 0BAC                tst.w      [0x00000BAC /* TESysJust */]
  229. 0000023C  6714                     beq        +0x16 /* 00000252 */
  230. 0000023E  322C 0006                move.w     D1, [A4 + 0x6]
  231. 00000242  926C 0002                sub.w      D1, [A4 + 0x2]
  232. 00000246  9240                     sub.w      D1, D0
  233. 00000248  0441 0012                subi.w     D1, 0x12
  234. 0000024C  D26C 0002                add.w      D1, [A4 + 0x2]
  235. 00000250  601A                     bra        +0x1C /* 0000026C */
  236. label00000252:
  237. 00000252  322C 0002                move.w     D1, [A4 + 0x2]
  238. 00000256  0641 0012                addi.w     D1, 0x12
  239. 0000025A  6010                     bra        +0x12 /* 0000026C */
  240. label0000025C:
  241. 0000025C  322C 0006                move.w     D1, [A4 + 0x6]
  242. 00000260  926C 0002                sub.w      D1, [A4 + 0x2]
  243. 00000264  9240                     sub.w      D1, D0
  244. 00000266  E241                     asr        D1.w, 1
  245. 00000268  D26C 0002                add.w      D1, [A4 + 0x2]
  246. label0000026C:
  247. 0000026C  3F01                     move.w     -[A7], D1
  248. 0000026E  3F05                     move.w     -[A7], D5
  249. 00000270  A893                     syscall    MoveTo
  250. 00000272  2055                     movea.l    A0, [A5]
  251. 00000274  2050                     movea.l    A0, [A0]
  252. 00000276  3F28 0048                move.w     -[A7], [A0 + 0x48]
  253. 0000027A  4A2E FFEA                tst.b      [A6 - 0x16]
  254. 0000027E  670E                     beq        +0x10 /* 0000028E */
  255. 00000280  3028 0006                move.w     D0, [A0 + 0x6]
  256. 00000284  0240 C000                andi.w     D0, 0xC000
  257. 00000288  56EE FFC6                sne        [A6 - 0x3A]
  258. 0000028C  6004                     bra        +0x6 /* 00000292 */
  259. label0000028E:
  260. 0000028E  422E FFC6                clr.b      [A6 - 0x3A]
  261. label00000292:
  262. 00000292  4A2E FFEA                tst.b      [A6 - 0x16]
  263. 00000296  6732                     beq        +0x34 /* 000002CA */
  264. 00000298  206E 000E                movea.l    A0, [A6 + 0xE]
  265. 0000029C  2050                     movea.l    A0, [A0]
  266. 0000029E  1028 0011                move.b     D0, [A0 + 0x11]
  267. 000002A2  671C                     beq        +0x1E /* 000002C0 */
  268. 000002A4  0C00 00FE                cmpi.b     D0, 0xFE
  269. 000002A8  640A                     bcc        +0xC /* 000002B4 */
  270. 000002AA  4A06                     tst.b      D6
  271. 000002AC  6612                     bne        +0x14 /* 000002C0 */
  272. 000002AE  303C 0001                move.w     D0, 0x1
  273. 000002B2  6010                     bra        +0x12 /* 000002C4 */
  274. label000002B4:
  275. 000002B4  4A2E FFC6                tst.b      [A6 - 0x3A]
  276. 000002B8  6706                     beq        +0x8 /* 000002C0 */
  277. 000002BA  3F3C 0031                move.w     -[A7], 0x31 /* '1' */
  278. 000002BE  A889                     syscall    TextMode
  279. label000002C0:
  280. 000002C0  303C 0002                move.w     D0, 0x2
  281. label000002C4:
  282. 000002C4  6100 FE5E                bsr        -0x1A0 /* 00000124 */
  283. 000002C8  AA14                     syscall    RGBForeColor
  284. label000002CA:
  285. 000002CA  2F0A                     move.l     -[A7], A2
  286. 000002CC  3007                     move.w     D0, D7
  287. 000002CE  5400                     addq.b     D0, 2
  288. 000002D0  3F00                     move.w     -[A7], D0
  289. 000002D2  3F03                     move.w     -[A7], D3
  290. 000002D4  A885                     syscall    DrawText
  291. 000002D6  A889                     syscall    TextMode
  292. 000002D8  6100 009C                bsr        +0x9E /* 00000376 */
  293. 000002DC  9A40                     sub.w      D5, D0
  294. 000002DE  4A07                     tst.b      D7
  295. 000002E0  6A00 FF3E                bpl        -0xC0 /* 00000220 */
  296. 000002E4  504F                     addq.w     A7, 8
  297. label000002E6:
  298. 000002E6  4CDF 0C10                movem.l    D4,A2,A3, [A7]+
  299. 000002EA  204B                     movea.l    A0, A3
  300. 000002EC  201F                     move.l     D0, [A7]+
  301. 000002EE  A06A                     syscall    HSetState
  302. 000002F0  2055                     movea.l    A0, [A5]
  303. 000002F2  2050                     movea.l    A0, [A0]
  304. 000002F4  315F 004A                move.w     [A0 + 0x4A], [A7]+
  305. 000002F8  215F 0044                move.l     [A0 + 0x44], [A7]+
  306. 000002FC  4A2E FFEA                tst.b      [A6 - 0x16]
  307. 00000300  6708                     beq        +0xA /* 0000030A */
  308. 00000302  7000                     moveq.l    D0, 0x00
  309. 00000304  6100 FE1E                bsr        -0x1E0 /* 00000124 */
  310. 00000308  AA14                     syscall    RGBForeColor
  311. label0000030A:
  312. 0000030A  4A06                     tst.b      D6
  313. 0000030C  6600 015A                bne        +0x15C /* 00000468 */
  314. 00000310  2053                     movea.l    A0, [A3]
  315. 00000312  49E8 0008                lea.l      A4, [A0 + 0x8]
  316. 00000316  2F0C                     move.l     -[A7], A4
  317. 00000318  2F04                     move.l     -[A7], D4
  318. 0000031A  A8B0                     syscall    FrameRoundRect
  319. 0000031C  4A2E FFEA                tst.b      [A6 - 0x16]
  320. 00000320  6712                     beq        +0x14 /* 00000334 */
  321. 00000322  4A2E FFC6                tst.b      [A6 - 0x3A]
  322. 00000326  660A                     bne        +0xC /* 00000332 */
  323. 00000328  2053                     movea.l    A0, [A3]
  324. 0000032A  0C28 00FE 0011           cmpi.b     [A0 + 0x11], 0xFE
  325. 00000330  6452                     bcc        +0x54 /* 00000384 */
  326. label00000332:
  327. 00000332  601E                     bra        +0x20 /* 00000352 */
  328. label00000334:
  329. 00000334  2053                     movea.l    A0, [A3]
  330. 00000336  1028 0011                move.b     D0, [A0 + 0x11]
  331. 0000033A  6716                     beq        +0x18 /* 00000352 */
  332. 0000033C  4A2E FFC6                tst.b      [A6 - 0x3A]
  333. 00000340  6610                     bne        +0x12 /* 00000352 */
  334. 00000342  0C00 00FE                cmpi.b     D0, 0xFE
  335. 00000346  643C                     bcc        +0x3E /* 00000384 */
  336. 00000348  49E8 0008                lea.l      A4, [A0 + 0x8]
  337. 0000034C  2F0C                     move.l     -[A7], A4
  338. 0000034E  2F04                     move.l     -[A7], D4
  339. 00000350  A8B3                     syscall    InvertRoundRect
  340. label00000352:
  341. 00000352  A89E                     syscall    PenNormal
  342. 00000354  2F0A                     move.l     -[A7], A2
  343. 00000356  A879                     syscall    SetClip
  344. 00000358  2F0A                     move.l     -[A7], A2
  345. 0000035A  A8D9                     syscall    DisposRgn/DisposeRgn
  346. 0000035C  4E75                     rts
  347. fn0000035E:
  348. 0000035E  7600                     moveq.l    D3, 0x00
  349. 00000360  4A07                     tst.b      D7
  350. 00000362  670E                     beq        +0x10 /* 00000372 */
  351. label00000364:
  352. 00000364  0C32 000D 7000           cmpi.b     [A2 + D7.w], 0xD /* '\r' */
  353. 0000036A  6706                     beq        +0x8 /* 00000372 */
  354. 0000036C  5243                     addq.w     D3, 1
  355. 0000036E  5307                     subq.b     D7, 1
  356. 00000370  66F2                     bne        -0xC /* 00000364 */
  357. label00000372:
  358. 00000372  5307                     subq.b     D7, 1
  359. 00000374  4E75                     rts
  360. fn00000376:
  361. 00000376  7000                     moveq.l    D0, 0x00
  362. 00000378  D053                     add.w      D0, [A3]
  363. 0000037A  D06B 0002                add.w      D0, [A3 + 0x2]
  364. 0000037E  D06B 0006                add.w      D0, [A3 + 0x6]
  365. 00000382  4E75                     rts
  366. label00000384:
  367. 00000384  6102                     bsr        +0x4 /* 00000388 */
  368. 00000386  60CA                     bra        -0x34 /* 00000352 */
  369. fn00000388:
  370. 00000388  4A2E FFEA                tst.b      [A6 - 0x16]
  371. 0000038C  6714                     beq        +0x16 /* 000003A2 */
  372. 0000038E  4A06                     tst.b      D6
  373. 00000390  6610                     bne        +0x12 /* 000003A2 */
  374. 00000392  7002                     moveq.l    D0, 0x02
  375. 00000394  6100 FD8E                bsr        -0x270 /* 00000124 */
  376. 00000398  AA14                     syscall    RGBForeColor
  377. 0000039A  7001                     moveq.l    D0, 0x01
  378. 0000039C  6100 FD86                bsr        -0x278 /* 00000124 */
  379. 000003A0  AA15                     syscall    RGBBackColor
  380. label000003A2:
  381. 000003A2  2053                     movea.l    A0, [A3]
  382. 000003A4  49E8 0008                lea.l      A4, [A0 + 0x8]
  383. 000003A8  2F0C                     move.l     -[A7], A4
  384. 000003AA  2F3C 0001 0001           move.l     -[A7], 0x10001
  385. 000003B0  A8A9                     syscall    InsetRect
  386. 000003B2  2F0C                     move.l     -[A7], A4
  387. 000003B4  2F04                     move.l     -[A7], D4
  388. 000003B6  2055                     movea.l    A0, [A5]
  389. 000003B8  4868 FFE8                pea.l      [A0 - 0x18]
  390. 000003BC  A89D                     syscall    PenPat
  391. 000003BE  3F3C 000B                move.w     -[A7], 0xB
  392. 000003C2  A89C                     syscall    PenMode
  393. 000003C4  A8B1                     syscall    PaintRoundRect
  394. 000003C6  A89E                     syscall    PenNormal
  395. 000003C8  2053                     movea.l    A0, [A3]
  396. 000003CA  49E8 0008                lea.l      A4, [A0 + 0x8]
  397. 000003CE  2F0C                     move.l     -[A7], A4
  398. 000003D0  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  399. 000003D6  A8A9                     syscall    InsetRect
  400. 000003D8  4E75                     rts
  401. fn000003DA:
  402. 000003DA  4A06                     tst.b      D6
  403. 000003DC  6612                     bne        +0x14 /* 000003F0 */
  404. 000003DE  3828 000C                move.w     D4, [A0 + 0xC]
  405. 000003E2  9868 0008                sub.w      D4, [A0 + 0x8]
  406. 000003E6  E24C                     lsr        D4.w, 1
  407. 000003E8  3004                     move.w     D0, D4
  408. 000003EA  4844                     swap.w     D4
  409. 000003EC  3800                     move.w     D4, D0
  410. 000003EE  4E75                     rts
  411. label000003F0:
  412. 000003F0  7800                     moveq.l    D4, 0x00
  413. 000003F2  4E75                     rts
  414. 000003F4  1828 0011                move.b     D4, [A0 + 0x11]
  415. 000003F8  5204                     addq.b     D4, 1
  416. 000003FA  6720                     beq        +0x22 /* 0000041C */
  417. 000003FC  4267                     clr.w      -[A7]
  418. 000003FE  2F03                     move.l     -[A7], D3
  419. 00000400  4868 0008                pea.l      [A0 + 0x8]
  420. 00000404  A8AD                     syscall    PtInRect
  421. 00000406  4A1F                     tst.b      [A7]+
  422. 00000408  6712                     beq        +0x14 /* 0000041C */
  423. 0000040A  5204                     addq.b     D4, 1
  424. 0000040C  6710                     beq        +0x12 /* 0000041E */
  425. 0000040E  3D7C 000A 0016           move.w     [A6 + 0x16], 0xA /* '\n' */
  426. 00000414  4A06                     tst.b      D6
  427. 00000416  6704                     beq        +0x6 /* 0000041C */
  428. 00000418  526E 0016                addq.w     [A6 + 0x16], 1
  429. label0000041C:
  430. 0000041C  4E75                     rts
  431. label0000041E:
  432. 0000041E  3D7C 00FE 0016           move.w     [A6 + 0x16], 0xFE
  433. 00000424  4E75                     rts
  434. 00000426  1D7C 0001 0017           move.b     [A6 + 0x17], 0x1
  435. 0000042C  4A06                     tst.b      D6
  436. 0000042E  662E                     bne        +0x30 /* 0000045E */
  437. 00000430  61A8                     bsr        -0x56 /* 000003DA */
  438. 00000432  A896                     syscall    HidePen
  439. 00000434  A8DA                     syscall    OpenRgn
  440. 00000436  204B                     movea.l    A0, A3
  441. 00000438  A029                     syscall    HLock
  442. 0000043A  2053                     movea.l    A0, [A3]
  443. 0000043C  4868 0008                pea.l      [A0 + 0x8]
  444. 00000440  2F04                     move.l     -[A7], D4
  445. 00000442  A8B0                     syscall    FrameRoundRect
  446. 00000444  2F03                     move.l     -[A7], D3
  447. 00000446  A8DB                     syscall    CloseRgn
  448. 00000448  A897                     syscall    ShowPen
  449. 0000044A  204B                     movea.l    A0, A3
  450. 0000044C  A02A                     syscall    HUnlock
  451. label0000044E:
  452. 0000044E  2055                     movea.l    A0, [A5]
  453. 00000450  41E8 FFE8                lea.l      A0, [A0 - 0x18]
  454. 00000454  21D8 0A34                move.l     [0x00000A34 /* DragPattern */], [A0]+
  455. 00000458  21D0 0A38                move.l     [0x00000A38], [A0]
  456. 0000045C  4E75                     rts
  457. label0000045E:
  458. 0000045E  2F03                     move.l     -[A7], D3
  459. 00000460  4868 0008                pea.l      [A0 + 0x8]
  460. 00000464  A8DF                     syscall    RectRgn
  461. 00000466  60E6                     bra        -0x18 /* 0000044E */
  462. label00000468:
  463. 00000468  4A2E FFEA                tst.b      [A6 - 0x16]
  464. 0000046C  6706                     beq        +0x8 /* 00000474 */
  465. 0000046E  486E FFD4                pea.l      [A6 - 0x2C]
  466. 00000472  AA15                     syscall    RGBBackColor
  467. label00000474:
  468. 00000474  2053                     movea.l    A0, [A3]
  469. 00000476  49E8 0008                lea.l      A4, [A0 + 0x8]
  470. 0000047A  514F                     subq.w     A7, 8
  471. 0000047C  302C 0004                move.w     D0, [A4 + 0x4]
  472. 00000480  3200                     move.w     D1, D0
  473. 00000482  9054                     sub.w      D0, [A4]
  474. 00000484  0440 000C                subi.w     D0, 0xC
  475. 00000488  E240                     asr        D0.w, 1
  476. 0000048A  9240                     sub.w      D1, D0
  477. 0000048C  3F41 0004                move.w     [A7 + 0x4], D1
  478. 00000490  0441 000C                subi.w     D1, 0xC
  479. 00000494  3E81                     move.w     [A7], D1
  480. 00000496  4A78 0BAC                tst.w      [0x00000BAC /* TESysJust */]
  481. 0000049A  6714                     beq        +0x16 /* 000004B0 */
  482. 0000049C  322C 0006                move.w     D1, [A4 + 0x6]
  483. 000004A0  5541                     subq.w     D1, 2
  484. 000004A2  3F41 0006                move.w     [A7 + 0x6], D1
  485. 000004A6  0441 000C                subi.w     D1, 0xC
  486. 000004AA  3F41 0002                move.w     [A7 + 0x2], D1
  487. 000004AE  6012                     bra        +0x14 /* 000004C2 */
  488. label000004B0:
  489. 000004B0  322C 0002                move.w     D1, [A4 + 0x2]
  490. 000004B4  5441                     addq.w     D1, 2
  491. 000004B6  3F41 0002                move.w     [A7 + 0x2], D1
  492. 000004BA  0641 000C                addi.w     D1, 0xC
  493. 000004BE  3F41 0006                move.w     [A7 + 0x6], D1
  494. label000004C2:
  495. 000004C2  2F0F                     move.l     -[A7], A7
  496. 000004C4  A8A3                     syscall    EraseRect
  497. 000004C6  2053                     movea.l    A0, [A3]
  498. 000004C8  3A28 0012                move.w     D5, [A0 + 0x12]
  499. 000004CC  1028 0011                move.b     D0, [A0 + 0x11]
  500. 000004D0  671A                     beq        +0x1C /* 000004EC */
  501. 000004D2  0C00 00FE                cmpi.b     D0, 0xFE
  502. 000004D6  650C                     bcs        +0xE /* 000004E4 */
  503. 000004D8  4A2E FFC6                tst.b      [A6 - 0x3A]
  504. 000004DC  660E                     bne        +0x10 /* 000004EC */
  505. 000004DE  6100 FEA8                bsr        -0x156 /* 00000388 */
  506. 000004E2  6008                     bra        +0xA /* 000004EC */
  507. label000004E4:
  508. 000004E4  2F3C 0002 0002           move.l     -[A7], 0x20002
  509. 000004EA  A89B                     syscall    PenSize
  510. label000004EC:
  511. 000004EC  2F0F                     move.l     -[A7], A7
  512. 000004EE  0C06 0002                cmpi.b     D6, 0x2
  513. 000004F2  6704                     beq        +0x6 /* 000004F8 */
  514. 000004F4  A8A1                     syscall    FrameRect
  515. 000004F6  6002                     bra        +0x4 /* 000004FA */
  516. label000004F8:
  517. 000004F8  A8B7                     syscall    FrameOval
  518. label000004FA:
  519. 000004FA  A89E                     syscall    PenNormal
  520. 000004FC  E24D                     lsr        D5.w, 1
  521. 000004FE  6440                     bcc        +0x42 /* 00000540 */
  522. 00000500  0C46 0002                cmpi.w     D6, 0x2
  523. 00000504  672C                     beq        +0x2E /* 00000532 */
  524. 00000506  2F0F                     move.l     -[A7], A7
  525. 00000508  2F38 0A02                move.l     -[A7], [0x00000A02 /* OneOne */]
  526. 0000050C  A8A9                     syscall    InsetRect
  527. 0000050E  2F17                     move.l     -[A7], [A7]
  528. 00000510  A893                     syscall    MoveTo
  529. 00000512  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  530. 00000516  A891                     syscall    LineTo
  531. 00000518  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  532. 0000051C  3F2F 0002                move.w     -[A7], [A7 + 0x2]
  533. 00000520  5357                     subq.w     [A7], 1
  534. 00000522  A893                     syscall    MoveTo
  535. 00000524  3F2F 0002                move.w     -[A7], [A7 + 0x2]
  536. 00000528  5357                     subq.w     [A7], 1
  537. 0000052A  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  538. 0000052E  A891                     syscall    LineTo
  539. 00000530  600E                     bra        +0x10 /* 00000540 */
  540. label00000532:
  541. 00000532  2F0F                     move.l     -[A7], A7
  542. 00000534  2F3C 0003 0003           move.l     -[A7], 0x30003
  543. 0000053A  A8A9                     syscall    InsetRect
  544. 0000053C  2F0F                     move.l     -[A7], A7
  545. 0000053E  A8B8                     syscall    PaintOval
  546. label00000540:
  547. 00000540  504F                     addq.w     A7, 8
  548. 00000542  6000 FE0E                bra        -0x1F0 /* 00000352 */
  549.